package entity;

import java.io.Serializable;

/**
 * Created by Administrator on 2017/11/15.
 */
public class DetailEntity implements Serializable {
    private Long id;//商品id
    private String good_name;//商品名
    private Double price;//商品价格
    private String detail;//商品对应的图片

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getGood_name() {
        return good_name;
    }

    public void setGood_name(String good_name) {
        this.good_name = good_name;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }


    public DetailEntity(Long id, String good_name, Double price, String detail) {
        this.id = id;
        this.good_name = good_name;
        this.price = price;
        this.detail = detail;
    }

    public String getDetail() {

        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public DetailEntity(){
        super();
    }

    @Override
    public String toString() {
        return "DetailEntity{" +
                "id=" + id +
                ", good_name='" + good_name + '\'' +
                ", price=" + price +
                ", detail='" + detail + '\'' +
                '}';
    }
}
